<?php
namespace app\api\model\wanlshop;

use think\Model;

class Category extends Model
{

    // 表名
    protected $name = 'wanlshop_category';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';


    //本类在本项目中的缓存key
    public $cacheKey=[
        'channelList_category'=>'channelList_category',
        'channelList_goods'=>'channelList_goods',
        'channelList_shop'=>'channelList_shop'
    ];
}
